#include <iostream>
#include <string>

using namespace std;

void Swap_Func(int & val_1 ,int & val_2)
{
    int temp =val_2;
    val_2 = val_1;
    val_1 =temp;
}

void Swap_Func(double & val_1, double & val_2)
{
    double temp = val_2;
    val_2 = val_1;
    val_1 = temp ;
}



int main(int argc, char const *argv[])
{
    
    int val_int_1 = 50 ;
    int val_int_2 = 70 ;

    double val_double_1 =50.123;
    double val_double_2 =70.123;

    Swap_Func(val_int_1 ,val_int_2);
    Swap_Func(val_double_1 ,val_double_2);

    cout << val_int_1 << " " << val_int_2 << endl;
    cout << val_double_1 << " " <<val_double_2 << endl;


    return 0;
}
